package com.summer.campussct.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 车辆发布表
 * </p>
 *
 * @author Mr.Chen
 * @since 2024-05-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="VehiclePublish对象", description="车辆发布表")
public class VehiclePublish implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long vid;

    private String vehicleName;

    private String registerDate;

    private String version;

    private Integer size;

    private String color;

    private BigDecimal price;

    private String emissionStandard;

    private String engine;

    private String gearbox;

    private String oilLabel;

    private String driverWay;

    private BigDecimal originalPrice;

    private BigDecimal currentPrice;

    private LocalDate comeDate;

    private String telNum;

    private String city;

    private Integer mileage;

    private String frontPic;

    private String mainPictures;

    private String tradeAddr;

    private String leaveMessage;

    private Integer transferNum;

    private Long vehicleCategoryId;

    private String vehicleCategoryName;

    private Long brandId;

    private String brandName;

    private Long campusOrShopId;

    private Integer campusOrShopType;

    private String campusOrShopName;
    private String campusOrShopAddr;
    private String campusOrShopPicture;

    private Long uid;

    private String nickname;

    private String avatar;

    @ApiModelProperty("订金")
    private BigDecimal orderPrice;

    @ApiModelProperty(value = "发布状态，字典表300")
    private Integer publishStatus;

    @ApiModelProperty(value = "下架日期")
    private LocalDate offlineDate;

    @ApiModelProperty(value = "发布时间")
    private LocalDateTime publishTime;

    @ApiModelProperty(value = "状态更新时间")
    private LocalDateTime updateTime;


}
